package com.Jano.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName OperationLog
 * @Description TODO
 * @Author Administrator
 * @Date: 2022/7/13 15:29
 * @Version 1.0
 */
@Data
public class OperationLog {
    private Integer id;
    private Integer userId;
    private String username;
    private String operation;
    private Long time;
    private String method;
    private String params;
    private String ip;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GTM+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
